<div class="tab_cont2 security">
<p class="c_666 remind"><span class="ico ico_tip"></span>修改支付密码需要使用验证码，点击发送将发送验证码到您当前使用的邮箱。</p>
				    <ul class="form_list">
                        <li><span class="tit">您的注册邮箱：</span><?php echo CHtml::textField("Member[zm_email]",$model->zm_email,array('class'=>'t_ipt ipt_bg','value'=>$model->zm_email,'maxlength'=>'32','disabled'=>'true')); ?><span id="emails"></span></li>
                        <li><span class="tit"></span>
							<?php echo CHtml::ajaxSubmitButton('发送验证码',
                            CHtml::normalizeUrl(
                            array('/ajax/sendEmailCaptcha')
                            ),
							array('success'=>'function(result){
								if(result==1){
									alert("验证码发送成功，请登录您的邮箱获取。");
								}else if(result==-1){
									alert("非法请求。");
								}else{
									alert("验证码发送失败，请重试，或联系管理员。");
								}
							}'
							),
                            array('class'=>'mem_btn mem_btn05'));?>
                        </li>
                    </ul>
            	<p class="c_666 remind"><span class="ico ico_tip"></span>初始支付密码与会员注册密码一致，为了您的交易安全，请务必更改你的支付密码，且最好与注册密码不同。</p>
				<?php 
                    $form = $this->beginWidget('CActiveForm', 
                    array(
                    'id'=>'user-form',
                    'enableAjaxValidation'=>false,
                    'enableClientValidation'=>true,
                    'clientOptions'=>array('validateOnSubmit'=>true),
                    'action'=>'/member/info/repass',
                    )); ?>
                <input type="hidden" name="Member[type]" value="paypsword">
                <?php echo $form->hiddenField($model,'zm_id',array('value'=>$model->zm_id)); ?>
                    <ul class="form_list">
                        <li>
                            <span class="tit">验证码：</span>
                            <?php echo $form->textField($model,'captcha',array('class'=>'t_ipt code','style'=>'width:80px','value'=>'','maxlength'=>'10')); ?>
                            <?php echo $form->error($model,'captcha','',true,true,'span'); ?>
                        </li>                        
                        <li>
                            <span class="tit">新支付密码：</span>
                            <?php echo $form->passwordField($model,'zm_paypsword',array('class'=>'t_ipt ipt_bg','value'=>'','maxlength'=>'32')); ?>
                            <?php echo $form->error($model,'zm_paypsword','',true,true,'span'); ?>
                        </li>
                        <li>
                            <span class="tit">重复新密码：</span>
                            <?php echo $form->passwordField($model,'re_paypsword',array('class'=>'t_ipt ipt_bg','maxlength'=>'32')); ?>
                            <?php echo $form->error($model,'re_paypsword','',true,true,'span'); ?>
                        </li>
                        <li>
                            <span class="tit"></span>
                            <input class="mem_btn mem_btn06" type="submit" name="" value="保 存" /></li>
                    </ul>
                <?php $this->endWidget(); ?>
                <div class="change_done d_n">
                	<p class="fw_b fs_14"><span class="ico_big ico_done"></span>恭喜您,密码修改成功！</p>
                    <p class="mt10">请妥善保管好您的支付密码，以确保交易安全！</p>
                </div>
                </div>